﻿using MangoMes.Commont.DTOs;
using MangoMes.Commont.DTOs.ProductDTOs;
using MediatR;

namespace ManagoMes.Read.API.Applications.ProductionWorkOrders
{
    public class ProductionOrdersListCommand : IRequest<CodePageDTO<ProductDTOs>>
    {
        /// <summary>
        /// 工单编码
        /// </summary>
        public string? ProductionWorkOrdersNo { get; set; }
        /// <summary>
        /// 生产工单名称
        /// </summary>
        public string? ProductionWorkOrdersName { get; set; }
        /// <summary>
        /// 来源类型
        /// </summary>
        public string? Source { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string? ProductsNo { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? ProductsName { get; set; }
        /// <summary>
        /// 客户编码
        /// </summary>
        public string? ClientNo { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string? ClientName { get; set; }
        /// <summary>
        /// 工单类型
        /// </summary>
        public string? TicketsType { get; set; }
        /// <summary>
        /// 需求日期
        /// </summary>
        public DateTime? DemandDate { get; set; }
        public int PageIndex { get; set; }
        public int PageSize { get; set; }
    }
}
